home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 May: Tool Chest / Developer CD Series May 1996 (Tool Chest) (Apple Computer) (1996).iso / Sample Code / Snippets / Files / PBCatSearch / PBCatSearch.r < prev    next >
Encoding:
Text File  |  1995-02-08  |  1.8 KB  |  129 lines  |  [TEXT/MPS ]

  1. #include "Types.r"
  2. #include "SysTypes.r"
  3.  
  4. resource 'SIZE' (-1) {
  5.     reserved,
  6.     acceptSuspendResumeEvents,
  7.     reserved,
  8.     canBackground,
  9.     notMultiFinderAware,
  10.     backgroundAndForeground,
  11.     getFrontClicks,
  12.     ignoreChildDiedEvents,
  13.     is32BitCompatible,
  14.     isHighLevelEventAware,
  15.     localAndRemoteHLEvents,
  16.     notStationeryAware,
  17.     dontUseTextEditServices,
  18.     reserved,
  19.     reserved,
  20.     reserved,
  21.     100000,
  22.     100000
  23. };
  24.  
  25. resource 'DLOG' (128) {
  26.     {40, 40, 148, 379},
  27.     dBoxProc,
  28.     visible,
  29.     goAway,
  30.     0x0,
  31.     128,
  32.     ""
  33. };
  34.  
  35. resource 'DLOG' (130) {
  36.     {40, 40, 209, 392},
  37.     dBoxProc,
  38.     visible,
  39.     goAway,
  40.     0x0,
  41.     130,
  42.     ""
  43. };
  44.  
  45. resource 'DITL' (128) {
  46.     {    /* array DITLarray: 1 elements */
  47.         /* [1] */
  48.         {26, 57, 75, 282},
  49.         StaticText {
  50.             disabled,
  51.             "Searching for the first file with\nCreato"
  52.             "r: ^0\nFileType: ^1"
  53.         }
  54.     }
  55. };
  56.  
  57. resource 'DITL' (129) {
  58.     {    /* array DITLarray: 2 elements */
  59.         /* [1] */
  60.         {100, 81, 120, 139},
  61.         Button {
  62.             enabled,
  63.             "OK"
  64.         },
  65.         /* [2] */
  66.         {10, 0, 90, 216},
  67.         StaticText {
  68.             disabled,
  69.             "Found file named:\n^0"
  70.         }
  71.     }
  72. };
  73.  
  74. resource 'DITL' (130) {
  75.     {    /* array DITLarray: 6 elements */
  76.         /* [1] */
  77.         {140, 150, 160, 208},
  78.         Button {
  79.             enabled,
  80.             "OK"
  81.         },
  82.         /* [2] */
  83.         {20, 10, 35, 203},
  84.         StaticText {
  85.             disabled,
  86.             "Search for file with Creator:"
  87.         },
  88.         /* [3] */
  89.         {60, 10, 76, 85},
  90.         StaticText {
  91.             disabled,
  92.             "FileType:"
  93.         },
  94.         /* [4] */
  95.         {20, 220, 36, 295},
  96.         EditText {
  97.             disabled,
  98.             "MACS"
  99.         },
  100.         /* [5] */
  101.         {60, 220, 76, 295},
  102.         EditText {
  103.             enabled,
  104.             "FNDR"
  105.         },
  106.         /* [6] */
  107.         {100, 30, 118, 339},
  108.         StaticText {
  109.             disabled,
  110.             "(default search for Finder)"
  111.         }
  112.     }
  113. };
  114.  
  115. resource 'ALRT' (129) {
  116.     {40, 40, 175, 260},
  117.     129,
  118.     {    /* array: 4 elements */
  119.         /* [1] */
  120.         OK, visible, sound1,
  121.         /* [2] */
  122.         OK, visible, sound1,
  123.         /* [3] */
  124.         OK, visible, sound1,
  125.         /* [4] */
  126.         OK, visible, sound1
  127.     }
  128. };
  129.